package com.stx.jeepay.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.stx.jeepay.core.entity.MchNotifyRecordEntity;


import java.util.Map;

/**
 * 商户通知记录表
 *
 * @author suntingxing
 * @email 1@gmail.com
 * @date 2023-09-11 13:05:22
 */
public interface MchNotifyRecordService extends IService<MchNotifyRecordEntity> {

    /** 查询支付订单 */
    MchNotifyRecordEntity findByPayOrder(String orderId);

    /** 修改通知结果 */
    Integer updateNotifyResult(Long notifyId, Byte state, String resResult);

    /** 查询退款订单订单 */
    MchNotifyRecordEntity findByRefundOrder(String orderId);

    /** 查询退款订单订单 */
    MchNotifyRecordEntity findByTransferOrder(String transferId);
}

